<!-- components/MyRef.vue -->
<template>
    <div>{{ message }}</div>
</template>

<!-- <script lang="ts" setup>
import { ref } from 'vue'

const message = ref("Hello World")
console.log(message.value)

</script> -->

<script lang="ts">
import { ref } from 'vue';

export default{
    setup(){
        const message = ref("Hello World")
        return { message }
    }
}

</script>
